package com.daka.dao;

import com.daka.entity.UserOpen;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository(value = "userOpenDao")
@SQLMapper
public interface UserOpenDao {

    int insert(UserOpen record);

    UserOpen selectByPrimaryKey(Integer id);

    UserOpen selectByUserId(Long userId);

    UserOpen selectByOpenId(String openId);

    List<UserOpen> selectByStatement(UserOpen record);

    int selectByStatementCount(UserOpen record);

    int updateByPrimaryKeySelective(UserOpen record);
}